package jy.hibernate.beans;

import java.util.Set;

/**
 *  Store_info entity
 * @author tingzi
 *
 */
public class Store_info implements java.io.Serializable{
	private static final long serialVersionUID = 8449067908457198855L;
   //Fields
	private Integer store_id;//�����id
	private String store_name;//�ֿ���
	private Integer region_num=0;//��λ
	private Set<Region_info> regions;
	public Integer getStore_id() {
		return store_id;
	}
	public void setStore_id(Integer store_id) {
		this.store_id = store_id;
	}
	public String getStore_name() {
		return store_name;
	}
	public void setStore_name(String store_name) {
		this.store_name = store_name;
	}
	public Integer getRegion_num() {
		return region_num;
	}
	public void setRegion_num(Integer region_num) {
		this.region_num = region_num;
	}
	/** full constructor */
	public Store_info(String store_name,Integer region_num){
		this.store_name=store_name;
		this.region_num=region_num;
	}
	public String toString(){
		return "store_name:"+store_name+"/tregion_num:"+region_num;
	}
	public Set<Region_info> getRegions() {
		return regions;
	}
	public void setRegions(Set<Region_info> regions) {
		this.regions = regions;
	}
	

}
